<?php
declare(strict_types=1);

namespace Api\Request\Cola;

use Mine\MineApiFormRequest;

class ColaBillRequest extends MineApiFormRequest
{

    /**
     * 公共规则.
     */
    public function commonRules(): array
    {
        return [];
    }
    /**
     * 详情规则.
     */
    public function addRules(): array
    {
        return [
            'pay_source'=>'required',
            'ledger_id'=>'required',
            'trade_cate_id'=>'required',
            'cash_flow'=>'required',
            'money'=>'required',
        ];
    }
    /**
     * 公共规则.
     */
    public function listRules(): array
    {
        return [
            'page' => 'required',
            'size' => 'required',
        ];

    }


}